package com.study.ssm.annotation02.config;

import com.study.ssm.annotation02.injection.UserDAO;
import com.study.ssm.annotation02.injection.UserDAOImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author zhoujunlin
 * @date 2023年07月27日 10:13
 * @desc
 */
@Configuration
public class AppConfig2 {

    @Bean
    public UserDAO userDAO() {
        return new UserDAOImpl();
    }

}
